home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
tcltk.z
/
tcltk
/
man
/
cat3
/
MainWin.3
< prev
next >
Wrap
Text File
|
1994-09-20
|
993b
|
67 lines
Tk_MainWindow(3) Tk Library Procedures 7.0
_________________________________________________________________
NAME
Tk_MainWindow - find the main window for an application
SYNOPSIS
#include <tk.h>
Tk_Window
Tk_MainWindow(_i_n_t_e_r_p)
ARGUMENTS
Tcl_Interp *_i_n_t_e_r_p (in/out) Interpreter associated
with the application.
_________________________________________________________________
DESCRIPTION
If _i_n_t_e_r_p is associated with a Tk application then
Tk_MainWindow returns the application's main window. If
there is no Tk application associated with _i_n_t_e_r_p then
Tk_MainWindow returns NULL and leaves an error message in
_i_n_t_e_r_p->_r_e_s_u_l_t.
KEYWORDS
application, main window
Tk 1